package com.seari.bean.ats_iscs;

/**
 * 报文类型枚举类
 *
 * @Author: zyk
 * @Date: 2019/5/24 14:26
 * @Version 1.0
 */
public enum AtsIscsMessageTypeEnum {

    //ISCS系统到ATS系统的报文类型
    INITIAL_SUBSCRIBE("INITIAL_SUBSCRIBE",101),
    UPDATE_SUBSCRIBE("UPDATE_SUBSCRIBE",102),
    RELIEVE_SUBSCRIBE("RELIEVE_SUBSCRIBE",103),
    ORDER_SUBSCRIBE("ORDER_SUBSCRIBE",104),

    //ATS系统到ISCS系统的报文类型
    SUBSCRIPTION_RESPONSE("SUBSCRIPTION_RESPONSE",201),
    INITIAL_BEGIN_SUBSCRIBE("INITIAL_BEGIN_SUBSCRIBE",202),
    INITIAL_END_SUBSCRIBE("INITIAL_END_SUBSCRIBE",203),
    CREATE_OBJECT_SUBSCRIBE("CREATE_OBJECT_SUBSCRIBE",204),
    UPDATE_OBJECT_SUBSCRIBE("UPDATE_OBJECT_SUBSCRIBE",205),
    REMOVE_OBJECT_SUBSCRIBE("REMOVE_OBJECT_SUBSCRIBE",206),


    //车辆标签的属性id
    CAR_HEAD("head",12),
    CAR_TAG("tag",13);

    private String name;

    private Integer value;

    AtsIscsMessageTypeEnum(String name,Integer value){
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
